/* Qwiver — socle visuel de l'app (issu de Claude Design, design system « Qwiver »).
   Tokens + composants partagés par l'accueil, le quiver et la barre d'onglets. */
:root {
  --qw-navy: #232851; --qw-vert: #00dccd; --filet: 1px; --qw-vert-texte: #00dccd; --qw-teal-soft: #e0faf8;
  --qw-perdu: #f4b10a; --qw-alerte: #e02020;
  --qw-bg: #f8f8f8; --qw-card: #fff; --qw-surface-2: #eef0f3; --qw-line: #edf0f2;
  --qw-gris: #8a8f9c; --qw-gris-texte: #6b6f8a;
  --qw-shadow: 0 4px 12px rgba(35,40,81,.08); --qw-shadow-card: 0 4px 16px rgba(35,40,81,.10);
  --qw-font: 'Sora', system-ui, sans-serif; --qw-font-titre: 'Sora', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body.qw { margin: 0; background: var(--qw-bg); color: var(--qw-navy); font-family: var(--qw-font); font-size: 14px; display: flex; justify-content: center; }
.qw-app { width: 100%; max-width: 430px; min-height: 100vh; padding-bottom: 56px; position: relative; }   /* plus de barre d'onglets en bas (2026-11-10) */
.qw-pad { padding-left: 24px; padding-right: 24px; }
.qw-titre { font: 800 38px/1.05 var(--qw-font-titre); letter-spacing: -.8px; margin: 0; }
.qw-sous { color: var(--qw-gris-texte); margin-top: 6px; }
.qw-voir { color: var(--qw-vert); font-weight: 400; text-decoration: none; }
.qw-bloc-titre { display: flex; justify-content: space-between; align-items: baseline; padding: 26px 24px 0; }
.qw-bloc-titre h2 { margin: 0; font-weight: 700; font-size: 22px; }
.qw-rail { display: flex; gap: 14px; overflow-x: auto; padding: 14px 24px 4px; scrollbar-width: none; }
.qw-rail::-webkit-scrollbar { display: none; }

/* Pastille de statut */
.qw-chip { position: absolute; top: 12px; left: 12px; font: 700 9px var(--qw-font); letter-spacing: .8px; padding: 5px 10px; border-radius: 12px; text-transform: uppercase; background: var(--qw-perdu); color: var(--qw-navy); }

/* Carte matériel plein visuel */
.qw-gear { position: relative; display: block; overflow: hidden; background: #fff; box-shadow: var(--qw-shadow); color: var(--qw-navy); text-decoration: none; }
.qw-gear img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.qw-gear.catalogue img { height: 78%; object-fit: contain; }   /* détouré catalogue : on ne rogne pas */
.qw-gear .fond { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, #fff0, #ffffffa8, #ffffffd2, #fff); }
.qw-gear .txt { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.qw-gear .marque { font-weight: 800; font-size: 16px; overflow-wrap: anywhere; }
.qw-gear .modele { font-size: 12px; margin-top: 2px; overflow-wrap: anywhere; }
.qw-gear.rail { flex: none; width: 210px; height: 300px; border-radius: 28px; }
.qw-gear.rail .txt { left: 16px; right: 16px; bottom: 16px; }
.qw-gear.rail .marque { font-size: 17px; } .qw-gear.rail .modele { font-size: 13px; }
.qw-gear.grille { height: 230px; border-radius: 26px; }

/* Filtres */
.qw-filtres { display: flex; gap: 8px; margin-top: 18px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.qw-filtres::-webkit-scrollbar { display: none; }
.qw-filtre { flex: none; height: 38px; padding: 0 18px; border-radius: 19px; display: flex; align-items: center; font: 600 13px var(--qw-font); cursor: pointer; border: 0; background: #fff; color: var(--qw-navy); box-shadow: inset 0 0 0 1px #d6d6d6; }
.qw-filtre.on { background: var(--qw-navy); color: #fff; box-shadow: none; }

/* Grille quiver */
.qw-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.qw-vide { background: #fff; border-radius: 20px; box-shadow: var(--qw-shadow-card); padding: 28px 20px; text-align: center; font-size: 13px; color: var(--qw-gris); line-height: 1.5; margin-top: 18px; }
.qw-flash.ok { background: var(--qw-teal-soft); color: var(--qw-vert-texte); }
.qw-flash { border-radius: 12px; padding: 11px 14px; font-size: 13px; font-weight: 600; background: #fbeae8; color: #c0392b; margin-top: 16px; }

/* En-tête navy de l'accueil */
.qw-hero { background: var(--qw-navy); border-radius: 0 0 36px 36px; padding: 24px 24px 22px; color: #fff; }
.qw-hero .ligne { display: flex; justify-content: space-between; align-items: center; }
.qw-hero .logo { display: block; }
.qw-hero .logo img { height: 22px; width: auto; display: block; }
.qw-hero .avwrap { position: relative; }
.qw-hero .avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--qw-navy); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; text-decoration: none; overflow: hidden; }
.qw-hero .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qw-hero .badge { position: absolute; top: -3px; right: -3px; width: 18px; height: 18px; border-radius: 50%; background: var(--qw-alerte); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--qw-navy); pointer-events: none; }
.qw-rwrap { position: relative; margin-top: 18px; }
.qw-recherche { margin: 0; background: rgba(255,255,255,.14); border-radius: 14px; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 12px; }
.qw-recherche input, .qw-recherche input[type=search] { flex: 1; min-width: 0; width: auto; height: auto; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; outline: 0; color: #fff; font: 400 16px var(--qw-font); -webkit-appearance: none; appearance: none; }
.qw-recherche input[type=search]::-webkit-search-cancel-button, .qw-recherche input[type=search]::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.qw-recherche input::placeholder { color: rgba(255,255,255,.65); }
.qw-stats { display: flex; gap: 10px; margin-top: 18px; }
.qw-stats div { flex: 1; font-size: 12px; opacity: .85; }
.qw-stats b { font-size: 22px; display: block; color: #fff; opacity: 1; }

/* Prévisions de vent */
.qw-spot { flex: none; width: 316px; background: #fff; border-radius: 24px; padding: 16px; box-shadow: 0 4px 12px rgba(36,41,82,.06); }
.qw-spot .nom { font-weight: 800; font-size: 15px; } .qw-spot .nom span { font-weight: 400; font-size: 12px; color: var(--qw-gris-texte); }
.qw-heures { display: flex; gap: 2px; margin-top: 14px; }
.qw-heures .h { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.qw-heures .t { font: 400 10px Inter, var(--qw-font); }
.qw-heures .v { width: 100%; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; }
.qw-heures svg { margin-top: 2px; }
.qw-prev-vide { margin: 14px 24px 0; background: #fff; border-radius: 24px; box-shadow: 0 4px 12px rgba(36,41,82,.06); padding: 20px; font-size: 13px; line-height: 1.5; color: var(--qw-gris-texte); }

/* Barre d'onglets flottante */
.qw-dock { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(22px + env(safe-area-inset-bottom)); width: calc(100% - 24px); max-width: 406px; display: flex; align-items: center; gap: 10px; z-index: 20; }
.qw-tabs { flex: 1; min-width: 0; height: 68px; border-radius: 34px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: .5px solid rgba(35,40,81,.14); box-shadow: 0 8px 24px rgba(35,40,81,.14); display: flex; justify-content: space-around; align-items: center; padding: 0 4px; }
.qw-scan-bulle { flex: none; width: 68px; height: 68px; border-radius: 50%; background: var(--qw-vert); color: var(--qw-navy); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; font: 700 10px var(--qw-font); box-shadow: 0 8px 24px rgba(0,220,205,.45); }
.qw-scan-bulle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qw-scan-bulle.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--qw-vert), 0 8px 24px rgba(0,220,205,.45); }
.qw-tabs a, .qw-tabs button { flex: 1; min-width: 0; border: 0; background: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 56px; border-radius: 28px; text-decoration: none; color: var(--qw-gris-texte); font: 600 9.5px var(--qw-font); letter-spacing: -.1px; }
.qw-tabs a.on, .qw-tabs button.on, .qw-tabs button.ouvert { color: var(--qw-vert); background: rgba(35,40,81,.09); }
.qw-tabs svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Boutons / dialogue */
.qw-btn { font: 800 13px var(--qw-font); border: 0; border-radius: 12px; padding: 14px 20px; background: var(--qw-navy); color: var(--qw-bg); text-align: center; text-decoration: none; cursor: pointer; display: block; width: 100%; }
.qw-btn.ghost { background: transparent; color: var(--qw-navy); box-shadow: inset 0 0 0 var(--filet, 1px) rgba(35,40,81,.10); }
.qw-btn.small { width: auto; padding: 10px 16px; }
.qw-dialog { border: none; border-radius: 20px; padding: 20px; max-width: 360px; width: calc(100% - 32px); color: var(--qw-navy); font-family: inherit; box-shadow: 0 12px 40px rgba(35,40,81,.3); }
.qw-dialog::backdrop { background: rgba(35,40,81,.45); }
.qw-dialog h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; } .qw-dialog p { font-size: 14px; line-height: 1.5; margin: 0 0 12px; }
.qw-dialog input { font: inherit; font-size: 20px; font-weight: 800; letter-spacing: .2em; text-align: center; text-transform: uppercase; border: var(--filet, 1px) solid rgba(35,40,81,.08); border-radius: 12px; padding: 12px; width: 100%; }
.qw-dialog .dbtns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }

/* Blocs « bientôt » (prévisions, mode sur l'eau, sessions) : visibles mais grisés et inactifs */
.qw-grise { position: relative; opacity: .55; filter: grayscale(1); pointer-events: none; user-select: none; }
.qw-bientot { display: inline-block; font: 700 10px var(--qw-font); letter-spacing: .8px; text-transform: uppercase; background: var(--qw-surface-2); color: var(--qw-gris-texte); border-radius: 12px; padding: 4px 10px; vertical-align: middle; margin-left: 8px; }
.qw-heures .v.vide { background: #dfe2e8; color: transparent; }
.qw-heures .fleche { width: 14px; height: 14px; border-radius: 3px; background: #dfe2e8; margin-top: 2px; }
.qw-note { font-size: 12px; color: var(--qw-gris-texte); line-height: 1.5; margin: 10px 24px 0; }

/* Page Session */
.qw-sec { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 26px; box-shadow: 0 4px 12px rgba(36,41,82,.06); padding: 14px 16px; color: var(--qw-navy); text-decoration: none; }
.qw-sec .ico { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.qw-sec .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qw-sec .t { flex: 1; } .qw-sec .t b { display: block; font-weight: 800; font-size: 15px; } .qw-sec .t span { display: block; font-size: 12px; color: var(--qw-gris-texte); margin-top: 2px; line-height: 1.4; }
.qw-sec .chev { color: var(--qw-vert); font-size: 20px; }
.qw-eau { background: #fff; border-radius: 26px; box-shadow: 0 4px 12px rgba(36,41,82,.06); padding: 20px; }
.qw-eau .stepper { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.qw-eau .rond { width: 44px; height: 44px; border-radius: 50%; background: #f4f5f7; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.qw-eau .duree { text-align: center; } .qw-eau .duree b { font: 800 34px var(--qw-font); display: block; } .qw-eau .duree span { font-size: 11px; color: var(--qw-gris-texte); letter-spacing: 1px; }
.qw-eau .go { margin-top: 18px; height: 56px; border-radius: 30px; background: var(--qw-vert); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 15px var(--qw-font); }

/* Carte « + Ajouter du matériel » (fin du rail de l'accueil et de la grille du quiver) */
.qw-plus { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; background: var(--qw-teal-soft); color: var(--qw-navy); text-decoration: none; box-shadow: inset 0 0 0 2px var(--qw-vert); font-weight: 800; font-size: 14px; line-height: 1.3; padding: 16px; }
.qw-plus .rond { width: 52px; height: 52px; border-radius: 50%; background: var(--qw-vert); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 400; line-height: 1; }
.qw-plus.rail { flex: none; width: 210px; height: 300px; border-radius: 28px; }
.qw-plus.grille { height: 230px; border-radius: 26px; }

/* Prévisions empilées (page Session) */
.qw-pile { display: flex; flex-direction: column; gap: 12px; padding: 14px 24px 0; }
.qw-pile .qw-spot { width: 100%; }

/* Accueil : sections Scanner, Session, Profil */
.qw-carte { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 26px; box-shadow: 0 4px 12px rgba(36,41,82,.06); padding: 14px 16px; color: var(--qw-navy); text-decoration: none; }
.qw-carte .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--qw-navy); color: var(--qw-vert); display: flex; align-items: center; justify-content: center; flex: none; }
.qw-carte .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qw-carte .t { flex: 1; } .qw-carte .t b { display: block; font-weight: 800; font-size: 15px; } .qw-carte .t span { display: block; font-size: 12px; color: var(--qw-gris-texte); margin-top: 2px; line-height: 1.4; }
.qw-carte .chev { color: var(--qw-vert); font-size: 20px; }
.qw-section { padding: 0 24px; margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.qw-resume { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qw-resume > div { background: #fff; border-radius: 22px; box-shadow: 0 4px 12px rgba(36,41,82,.06); padding: 14px 16px; }
.qw-resume b { display: block; font: 800 26px var(--qw-font); }
.qw-resume span { display: block; font-size: 12px; color: var(--qw-gris-texte); margin-top: 2px; }
.qw-resume small { font-size: 11px; color: var(--qw-perdu); font-weight: 700; }
.qw-resume .qw-bientot { display: inline-block; margin: 6px 0 0; }

/* ===== Responsive =====
   Mobile : colonne unique (base ci-dessus). Tablette >= 640 px : colonne plus large, grilles multi-colonnes.
   Ordinateur >= 900 px : barre latérale à gauche à la place de la barre flottante du bas. */
@media (min-width: 640px) {
  .qw-app { max-width: 720px; }
  .qw-grille { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
  .qw-gear.grille, .qw-plus.grille { height: 270px; }
  .qw-gear.rail, .qw-plus.rail { width: 230px; height: 330px; }
  .qw-spot { width: 380px; }
  .qw-resume { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  :root { --qw-side: 232px; }
  body:has(.qw-tabs) { padding-left: var(--qw-side); padding-bottom: 48px; }
  .qw-app { max-width: 980px; padding-bottom: 48px; }

  /* Barre latérale (le dock devient la colonne de gauche) */
  .qw-dock { left: 0; top: 0; bottom: 0; transform: none; width: var(--qw-side); max-width: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 14px; padding: 92px 14px 24px; background: var(--qw-navy); }
  .qw-dock::before { content: ""; position: absolute; top: 30px; left: 28px; width: 122px; height: 24px; background: url(logo-white.png) left center / contain no-repeat; }
  .qw-tabs { flex: none; height: auto; border-radius: 0; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 4px; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: none; }
  .qw-tabs a, .qw-tabs button { flex: none; flex-direction: row; justify-content: flex-start; gap: 14px; height: 48px; padding: 0 16px; border-radius: 14px; color: rgba(255,255,255,.72); font-size: 14px; }
  .qw-tabs a:hover, .qw-tabs button:hover { background: rgba(255,255,255,.08); color: #fff; }
  .qw-tabs a.on, .qw-tabs button.on, .qw-tabs button.ouvert { color: #fff; background: rgba(255,255,255,.14); }
  .qw-tabs a.on svg { stroke: var(--qw-vert); }
  .qw-tabs button.on svg, .qw-tabs button.ouvert svg { fill: var(--qw-vert) !important; }
  .qw-tabs svg { width: 22px; height: 22px; }
  .qw-scan-bulle { width: auto; height: 52px; border-radius: 16px; flex-direction: row; gap: 12px; font-size: 14px; box-shadow: none; }
  .qw-scan-bulle.on { box-shadow: 0 0 0 3px rgba(255,255,255,.55); }

  /* En-tête : burger, recherche, avatar (le logo est dans la barre latérale) */
  .qw-hero { display: flex; align-items: center; gap: 20px; padding: 26px 40px; border-radius: 0 0 36px 36px; }
  .qw-hero .ligne { display: contents; }
  .qw-hero .qw-burger { order: 0; }
  .qw-rwrap { order: 1; margin: 0; flex: 1; max-width: 560px; }
  .qw-recherche { height: 44px; }
  .qw-hero .qw-actions { order: 2; margin-left: auto; }
  .qw-entete { padding-left: 40px; padding-right: 40px; }

  /* Gouttières plus larges */
  .qw-pad, .qw-bloc-titre, .qw-rail, .qw-section, .qw-pile { padding-left: 40px; padding-right: 40px; }
  .qw-prev-vide { margin-left: 40px; margin-right: 40px; }
  .qw-note { margin-left: 40px; margin-right: 40px; }
  .qw-section { max-width: 760px; }
  .qw-pile { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .qw-grille { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .qw-gear.grille, .qw-plus.grille { height: 290px; }
  .qw-gear.rail, .qw-plus.rail { width: 240px; height: 340px; }
}
.qw-note a { color: var(--qw-vert-texte); }

/* ===== En-tête commun, burger, menu tiroir ===== */
.qw-burger { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--qw-shadow); color: var(--qw-navy); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.qw-burger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.qw-hero .qw-burger { background: rgba(255,255,255,.14); box-shadow: none; color: #fff; width: 40px; height: 40px; }
.qw-hero .ligne { gap: 14px; }
.qw-hero .ligne .logo { margin: 0; }
.qw-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.qw-entete { padding: 22px 24px 0; }
.qw-entete .ligne { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.qw-entete .logo { margin: 0 auto; display: block; }
.qw-entete .logo img { height: 22px; width: auto; display: block; }
.qw-entete .t { flex: 1; min-width: 0; }
/* Titres en Sora (Sunflower n'avait pas d'accents). */
.qw-entete h1 { margin: 0; font: 800 32px/1.1 var(--qw-font); letter-spacing: -.5px; overflow-wrap: anywhere; }
.qw-entete .qw-sous { margin-top: 4px; font-size: 13px; }
.qw-entete .avwrap { position: relative; flex: none; }
.qw-entete .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--qw-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; text-decoration: none; overflow: hidden; }
.qw-entete .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qw-entete .badge { position: absolute; top: -3px; right: -3px; width: 18px; height: 18px; border-radius: 50%; background: var(--qw-alerte); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--qw-bg); pointer-events: none; }
.qw-autres-voile { position: fixed; inset: 0; z-index: 18; background: transparent; }
.qw-autres { position: fixed; z-index: 19; left: 0; right: 0; margin: 0 auto; bottom: calc(100px + env(safe-area-inset-bottom)); width: calc(100% - 24px); max-width: 406px; max-height: calc(100vh - 140px); overflow-y: auto; border-radius: 28px; padding: 12px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: .5px solid rgba(35,40,81,.14); box-shadow: 0 8px 24px rgba(35,40,81,.14); color: var(--qw-navy); font-family: var(--qw-font); }
.qw-ajout { position: fixed; z-index: 19; left: 0; right: 0; margin: 0 auto; bottom: calc(100px + env(safe-area-inset-bottom)); width: calc(100% - 24px); max-width: 406px; max-height: calc(100vh - 140px); overflow-y: auto; border-radius: 28px; padding: 12px; background: rgba(0,220,205,.88); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: .5px solid rgba(255,255,255,.35); box-shadow: 0 8px 24px rgba(35,40,81,.14); color: var(--qw-navy); font-family: var(--qw-font); }
.qw-ajout .liens { display: flex; flex-direction: column; gap: 2px; }
.qw-ajout .liens a { display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 12px; border-radius: 16px; color: var(--qw-navy); text-decoration: none; font-weight: 700; font-size: 15px; }
.qw-ajout .liens a:hover { background: rgba(255,255,255,.28); }
.qw-ajout .liens svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.qw-ajout .liens a.inactif, .qw-autres .liens a.inactif { opacity: .45; pointer-events: none; }
.qw-autres .liens a small { margin-left: auto; font-size: 11px; font-weight: 700; }
.qw-ajout .liens a small { margin-left: auto; font-size: 11px; font-weight: 700; }
.qw-scan-bulle { border: 0; cursor: pointer; }
.qw-scan-bulle.ouvert { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--qw-vert), 0 8px 24px rgba(0,220,205,.45); }
.qw-autres[hidden], .qw-ajout[hidden], .qw-autres-voile[hidden] { display: none; }
.qw-autres .liens { display: flex; flex-direction: column; gap: 2px; }
.qw-autres .liens[hidden] { display: none; }
.qw-autres .liens a { display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 12px; border-radius: 16px; color: var(--qw-navy); text-decoration: none; font-weight: 700; font-size: 15px; }
.qw-autres .liens a:hover { background: rgba(35,40,81,.07); }
.qw-autres .liens svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.qw-autres .liens a.urgence { color: #d64545; }
.qw-autres .qw-mrech { margin-bottom: 8px; }
.qw-mrech { flex: none; width: 100%; box-sizing: border-box; min-width: 0; background: rgba(35,40,81,.08); border-radius: 16px; height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: rgba(35,40,81,.6); }
.qw-mrech input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--qw-navy); font: 400 15px var(--qw-font); }
.qw-mrech input::placeholder { color: rgba(35,40,81,.55); }
.qw-mres { flex: 1; overflow-y: auto; }
.qw-mres[hidden], .qw-tiroir .liens[hidden] { display: none; }
.qw-mres h4 { margin: 12px 6px 4px; font: 800 11px var(--qw-font); letter-spacing: .08em; text-transform: uppercase; color: var(--qw-gris-texte); }
.qw-mres a { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 12px; color: var(--qw-navy); text-decoration: none; }
.qw-mres a:hover { background: var(--qw-surface-2); }
.qw-mres .vig { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--qw-surface-2) center / cover no-repeat; }
.qw-mres .tx { display: flex; flex-direction: column; min-width: 0; }
.qw-mres .tx b { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qw-mres .tx span { font-size: 12px; color: var(--qw-gris-texte); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qw-mres .vide { margin: 14px 6px; font-size: 13px; color: var(--qw-gris-texte); line-height: 1.5; }

/* ===== Recherche globale ===== */
.qw-champ { margin: 18px 24px 0; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 var(--filet, 1px) rgba(35,40,81,.10); height: 48px; padding: 0 14px; }
.qw-champ input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 16px var(--qw-font); color: var(--qw-navy); }
.qw-champ:focus-within { box-shadow: inset 0 0 0 2px var(--qw-navy); }
.qw-res { display: flex; flex-direction: column; gap: 8px; padding: 12px 24px 0; }
.qw-res-ligne { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; box-shadow: 0 4px 12px rgba(36,41,82,.06); padding: 12px 14px; color: var(--qw-navy); text-decoration: none; }
.qw-res-ligne .vig { width: 52px; height: 52px; border-radius: 12px; background: var(--qw-surface-2) center / contain no-repeat; flex: none; }
.qw-res-ligne .tx { flex: 1; min-width: 0; } .qw-res-ligne .tx b { display: block; font-weight: 800; font-size: 14px; overflow-wrap: anywhere; } .qw-res-ligne .tx span { display: block; font-size: 12px; color: var(--qw-gris-texte); margin-top: 2px; }
.qw-res-ligne form { margin: 0; }
@media (min-width: 900px) { .qw-champ, .qw-res { margin-left: 40px; margin-right: 40px; } .qw-res { margin: 0; padding-left: 40px; padding-right: 40px; } .qw-res, .qw-champ { max-width: 760px; } }
/* Logo : cliquable en haut des pages sur mobile ; sur grand écran c'est celui de la barre latérale. */
.qw-dock-logo { display: none; }
@media (min-width: 900px) {
  .qw-hero .ligne .logo, .qw-entete .logo, .scan-hero .logo { display: none !important; }
  .qw-entete .ligne, .scan-hero .ligne { justify-content: space-between; }
  .qw-dock-logo { display: block; position: absolute; top: 24px; left: 22px; width: 134px; height: 36px; z-index: 1; }
}
/* Flèche de retour / cale à la place de l'ancien burger */
.qw-retour svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.qw-cale { flex: none; width: 44px; height: 44px; }
.qw-hero .qw-cale, .scan-hero .qw-cale { width: 40px; height: 40px; }
@media (min-width: 900px) {
  .qw-autres, .qw-ajout { left: calc(var(--qw-side) + 10px); right: auto; margin: 0; bottom: 24px; width: 300px; max-width: none; }
  .qw-cale { display: none; }
  .qw-entete .avwrap, .scan-hero .avwrap { margin-left: auto; }
}

/* Accueil : pictos par catégorie, complétion du profil */
.qw-types { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 24px 0; }
.qw-type { display: flex; align-items: center; gap: 7px; background: #fff; border-radius: 999px; box-shadow: 0 4px 12px rgba(36,41,82,.06); padding: 8px 14px 8px 10px; color: var(--qw-navy); text-decoration: none; }
.qw-type .ico { width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; flex: none; }
.qw-type b { font: 800 15px var(--qw-font); }
.qw-type .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.qw-prof { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 22px; box-shadow: 0 4px 12px rgba(36,41,82,.06); padding: 16px; }
.qw-prof .ring { width: 72px; height: 72px; flex: none; }
.qw-prof .t { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.qw-prof .t b { font: 800 16px var(--qw-font); }
.qw-prof .t a, .qw-prof .t span { font-size: 12.5px; color: var(--qw-gris-texte); text-decoration: none; line-height: 1.4; }
.qw-prof .t a { color: var(--qw-vert); font-weight: 700; }
.qw-resume.mini { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.qw-resume.mini > div { padding: 10px 12px; border-radius: 16px; }
.qw-resume.mini b { font-size: 18px; }
.qw-resume.mini span { font-size: 11px; }

/* ---- En-tête unifié : cloche, résultats de recherche, profil dans « Autres » ---- */
.qw-clwrap { position: relative; flex: none; }
.qw-cloche { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.qw-cloche svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.qw-cloche .pt, .qw-clpan .notif .pt { width: 10px; height: 10px; border-radius: 50%; background: var(--qw-alerte); flex: none; }
.qw-cloche .pt { position: absolute; top: 7px; right: 8px; box-shadow: 0 0 0 2px var(--qw-navy); }
.qw-clpan { position: absolute; z-index: 30; top: 48px; right: 0; width: min(300px, calc(100vw - 32px)); background: #fff; color: var(--qw-navy); border-radius: 20px; box-shadow: 0 10px 28px rgba(35,40,81,.22); padding: 10px; }
.qw-clpan[hidden], .qw-hres[hidden] { display: none; }
.qw-clpan h4, .qw-hres h4 { margin: 8px 8px 4px; font: 800 11px var(--qw-font); letter-spacing: .08em; text-transform: uppercase; color: var(--qw-gris-texte); }
.qw-clpan .vide, .qw-hres .vide { margin: 10px 8px; font-size: 13px; color: var(--qw-gris-texte); line-height: 1.5; }
.qw-clpan .notif { text-decoration: none; display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: left; padding: 10px 8px; border-radius: 14px; cursor: pointer; }
.qw-clpan .notif:hover { background: var(--qw-surface-2); }
.qw-clpan .notif .tx { flex: 1; display: flex; flex-direction: column; }
.qw-clpan .notif .tx b { font-size: 14px; } .qw-clpan .notif .tx span { font-size: 12px; color: var(--qw-gris-texte); }
.qw-clpan .chev { color: var(--qw-vert); font-size: 20px; }
.qw-hres { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; max-height: min(60vh, 420px); overflow-y: auto; background: #fff; color: var(--qw-navy); border-radius: 20px; box-shadow: 0 10px 28px rgba(35,40,81,.22); padding: 6px 8px 8px; }
.qw-hres a { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 12px; color: var(--qw-navy); text-decoration: none; }
.qw-hres a:hover { background: var(--qw-surface-2); }
.qw-hres .vig { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--qw-surface-2) center / cover no-repeat; }
.qw-hres .tx { display: flex; flex-direction: column; min-width: 0; }
.qw-hres .tx b { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qw-hres .tx span { font-size: 12px; color: var(--qw-gris-texte); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qw-mprof { display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin-bottom: 6px; border-radius: 18px; background: rgba(35,40,81,.07); color: var(--qw-navy); text-decoration: none; }
.qw-mprof .av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--qw-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; overflow: hidden; }
.qw-mprof .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qw-mprof .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.qw-mprof .tx b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qw-mprof .tx span { font-size: 12px; color: var(--qw-gris-texte); }
.qw-mprof .chev { color: var(--qw-vert); font-size: 20px; }

/* Session : boutons Sécurité en couleur pleine */
.qw-sec.rouge { background: #e02020; color: #fff; box-shadow: 0 4px 12px rgba(224,32,32,.28); }
.qw-sec.jaune { background: #f4b10a; color: var(--qw-navy); box-shadow: 0 4px 12px rgba(244,177,10,.32); }
.qw-sec.rouge .ico { background: rgba(255,255,255,.22) !important; color: #fff !important; }
.qw-sec.jaune .ico { background: rgba(35,40,81,.14) !important; color: var(--qw-navy) !important; }
.qw-sec.rouge .t span { color: rgba(255,255,255,.85); } .qw-sec.jaune .t span { color: rgba(35,40,81,.75); }
.qw-sec.rouge .chev { color: #fff; } .qw-sec.jaune .chev { color: var(--qw-navy); }

/* Petit titre de sous-section (ex. « Derniers ajouts ») */
.qw-st { padding: 16px 24px 0; font-weight: 700; font-size: 16px; }
@media (min-width: 900px) { .qw-st { padding-left: 40px; padding-right: 40px; } }

/* Archive du quiver */
.qw-st-arch { margin-top: 30px; }
.qw-archive { display: flex; flex-direction: column; gap: 10px; }
.qw-arch-row { display: flex; align-items: center; gap: 14px; padding: 10px; background: #fff; border-radius: 20px; box-shadow: var(--qw-shadow-card); text-decoration: none; color: inherit; filter: grayscale(1); opacity: .66; }
.qw-arch-row:hover { opacity: .88; }
.qw-arch-row .pic { flex: 0 0 72px; height: 72px; border-radius: 14px; background: var(--qw-surface-2); overflow: hidden; }
.qw-arch-row .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qw-arch-row .inf { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.qw-arch-row .marque { font: 800 11px var(--qw-font); letter-spacing: .06em; text-transform: uppercase; color: var(--qw-gris-texte); }
.qw-arch-row .modele { font: 700 15px var(--qw-font); color: var(--qw-navy); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qw-arch-row .qw-chip.arch { position: static; margin-top: 4px; font-size: 11px; padding: 3px 9px; }
.qw-chip.arch { background: rgba(35,40,81,.82); color: #fff; }
.qw-arch-fiche { margin-top: 18px; background: #fff; border-radius: 26px; box-shadow: var(--qw-shadow-card); overflow: hidden; }
.qw-arch-fiche .vis { height: 190px; background: var(--qw-surface-2); display: flex; align-items: center; justify-content: center; color: var(--qw-gris-texte); font-size: 13px; }
.qw-arch-fiche .vis img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .75; }
.qw-arch-fiche .etat { margin: 14px 18px 0; display: inline-block; font: 800 12px var(--qw-font); letter-spacing: .04em; text-transform: uppercase; background: var(--qw-surface-2); color: var(--qw-navy); border-radius: 12px; padding: 6px 12px; }
.qw-arch-fiche dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 14px 18px 18px; font-size: 14px; }
.qw-arch-fiche dt { color: var(--qw-gris-texte); } .qw-arch-fiche dd { margin: 0; font-weight: 700; text-align: right; }
.qw-arch-code { margin-top: 16px; background: var(--qw-teal-soft); border-radius: 22px; padding: 18px; }
.qw-arch-code .h { font: 800 12px var(--qw-font); letter-spacing: .08em; text-transform: uppercase; color: var(--qw-vert-texte); }
.qw-arch-code .c { font: 800 30px 'Sora', sans-serif; letter-spacing: .12em; margin: 8px 0; }
.qw-arch-code p { margin: 0; font-size: 13px; line-height: 1.5; }


/* Page Session : frise des prévisions plus large que l'écran, sélecteur d'heure fixe au centre */
.qw-tl { --w: 46px; --vw: 100vw; --rowh: 128px; margin: 14px 24px 0; background: #fff; border-radius: 24px; box-shadow: 0 4px 12px rgba(36,41,82,.06); padding: 16px 0; overflow: hidden; }
.qw-tl-sc { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; outline: none; user-select: none; -webkit-user-select: none; }
.qw-tl-sc::-webkit-scrollbar { display: none; }
.qw-tl-sc.drag { cursor: grabbing; scroll-snap-type: none; }
.qw-tl-sc:focus-visible { outline: 2px solid var(--qw-vert); outline-offset: -2px; border-radius: 20px; }
.qw-tl-in { width: max-content; min-width: 100%; }
.qw-sp + .qw-sp { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--qw-surface-2); }
.qw-tl .stick { position: sticky; left: 0; width: var(--vw); padding: 0 16px; }
.qw-tl .nom { font-weight: 800; font-size: 15px; } .qw-tl .nom span { font-weight: 400; font-size: 12px; color: var(--qw-gris-texte); }
.qw-tl .stick-cur { position: sticky; left: 0; width: var(--vw); height: 0; z-index: 2; pointer-events: none; margin-top: 12px; }
.qw-tl .stick-cur i { position: absolute; top: 0; left: var(--selx, 50%); transition: left .1s ease-out; width: calc(var(--w) + 6px); height: var(--rowh); margin-left: calc((var(--w) + 6px) / -2); border: 2px solid var(--qw-navy); border-radius: 14px; background: rgba(0,220,205,.10); box-shadow: 0 4px 12px rgba(35,40,81,.18); }
.qw-tl .row { display: flex; height: var(--rowh); margin-top: 12px; padding: 0; }
.qw-tl .col { position: relative; flex: none; width: var(--w); padding: 6px 3px 0; display: flex; flex-direction: column; align-items: center; gap: 5px; scroll-snap-align: center; }
.qw-tl .col.past { opacity: .5; }
.qw-tl .col.newday { margin-left: 12px; }
.qw-tl .col.newday::before { content: ""; position: absolute; left: -7px; top: 14px; bottom: 14px; width: 1px; background: var(--qw-gris); opacity: .45; }
.qw-tl .col .t { font: 400 11px Inter, var(--qw-font); }
.qw-tl .col.sel .t { font-weight: 800; }
.qw-tl .col .v { width: 100%; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.qw-conseil { margin-top: 12px; }
.qw-conseil .f { display: none; align-items: center; flex-wrap: wrap; gap: 6px 18px; min-height: 30px; }
.qw-conseil .f.on { display: flex; }
.qw-tl .quand { margin-top: 2px; min-height: 16px; }
.qw-tl .quand .q { display: none; font: 800 13px var(--qw-font); color: var(--qw-gris-texte); }
.qw-tl .quand .q.on { display: inline; }
.qw-conseil .c { display: inline-flex; align-items: center; gap: 7px; font-size: 17px; }
.qw-conseil .c b { font-weight: 800; }
.qw-conseil .c.ko { font-size: 13px; color: var(--qw-gris-texte); }
.qw-conseil .c.ko b { font-weight: 400; }
.qw-conseil .c small { font-size: 11px; color: var(--qw-perdu); font-weight: 700; }
.qw-conseil .pic { width: 24px; height: 24px; flex: none; background: var(--qw-navy); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
@media (min-width: 900px) { .qw-tl { margin-left: 40px; margin-right: 40px; } }
.qw-bandeau { margin: 0 24px 12px; padding: 10px 14px; border-radius: 14px; background: var(--qw-surface-2); font-size: 13px; line-height: 1.5; }
.qw-bandeau a { color: var(--qw-vert-texte); font-weight: 700; }
.qw-spot-add { display: block; margin: 14px 0 0; padding: 12px; border: 1px dashed var(--qw-gris); border-radius: 16px; text-align: center; color: var(--qw-vert-texte); font-weight: 700; font-size: 14px; text-decoration: none; }
.qw-spot-add:hover, .qw-spot-add:focus-visible { background: var(--qw-teal-soft); outline: none; }
.qw-info { margin: 10px 24px 0; }
.qw-info summary { display: inline-block; cursor: pointer; list-style: none; font-size: 12px; color: var(--qw-vert-texte); text-decoration: underline; }
.qw-info summary::-webkit-details-marker { display: none; }
.qw-info .qw-note { margin: 6px 0 0; }
@media (min-width: 900px) { .qw-info { margin-left: 40px; margin-right: 40px; } }
.qw-tl .qw-spot-add { margin: 16px 16px 0; }
a.qw-cloche { text-decoration: none; }

/* Bandeau d'en-tête : vidéo d'eau en boucle (static/bandeau.mp4, arrêtée par static/bandeau.js si besoin).
   Mobile : la vidéo (640x264, haut de l image recadré pour remonter l écume), son bas = le gris du fond de page (--qw-bg, mesuré sur la vidéo). */
.qw-hero { position: relative; z-index: 5; border-radius: 0; margin-bottom: 0; }
.qw-hero-fond { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; background: var(--qw-bg); }
.qw-hero-fond video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; display: block; }
.qw-hero > .qw-rwrap, .qw-hero .ligne > * { position: relative; z-index: 1; }
@media (max-width: 899px) { .qw-hero { aspect-ratio: 640 / 264; } }
/* Sans voile sur la vidéo : on garde les boutons et le logo lisibles par eux-mêmes */
.qw-hero .qw-cloche, .qw-hero .qw-burger { background: rgba(35,40,81,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.qw-hero .logo img { filter: drop-shadow(0 1px 5px rgba(35,40,81,.75)); }
.qw-res-ligne.opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; }
.qw-res-ligne.opt input { width: 22px; height: 22px; flex: none; accent-color: var(--qw-vert); }

/* Menu « Ajouter » (mobile) : bandeau vertical, de la largeur du bouton, bords complètement ronds, texte sous les pictos */
.qw-ajout .l { display: none; }
@media (min-width: 900px) { .qw-ajout .c { display: none; } .qw-ajout .l { display: inline; } }
@media (max-width: 899px) {
  .qw-ajout { left: auto; right: max(12px, calc((100vw - 406px) / 2)); transform: none; width: 68px; max-width: none; padding: 8px 0; border-radius: 34px; }
  .qw-ajout .liens { gap: 2px; }
  .qw-ajout .liens a { flex-direction: column; justify-content: center; gap: 3px; min-height: 58px; margin: 0 4px; padding: 4px 2px; border-radius: 26px; font-size: 9.5px; line-height: 1.1; letter-spacing: -.1px; text-align: center; }
  .qw-ajout .liens svg { width: 24px; height: 24px; }
  .qw-ajout .liens a small { margin: 0; font-size: 8px; }
}

/* ===== Animations (static/qwiver-motion.js) et finitions mobile ===== */
/* Transition douce entre les pages (navigateurs récents) ; la barre d'onglets reste en place. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
.qw-dock { view-transition-name: qw-dock; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Pastille glissante sous l'onglet actif (remplace le fond fixe de l'onglet « on »). */
.qw-tabs { position: relative; }
.qw-tabs-pill { position: absolute; top: 0; left: 0; width: 0; height: 0; border-radius: 28px; background: rgba(35,40,81,.09); opacity: 0; pointer-events: none; z-index: 0; }
.qw-tabs a, .qw-tabs button { position: relative; z-index: 1; }
.qw-tabs.a-pill a.on, .qw-tabs.a-pill button.on, .qw-tabs.a-pill button.ouvert { background: none; }
.qw-tabs a.vise { color: var(--qw-vert); }
@media (min-width: 900px) {
  .qw-tabs-pill { border-radius: 14px; background: rgba(255,255,255,.14); }
  .qw-tabs a.vise { color: #fff; }
}

/* Toucher : pas de flash gris iOS, pas de double-tap zoom sur les commandes, rails qui s'arrêtent net sur une carte. */
.qw a, .qw button, .qw input, .qw label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.qw-rail { scroll-snap-type: x mandatory; scroll-padding-left: 24px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.qw-rail > * { scroll-snap-align: start; }
.qw-filtres, .qw-types { overscroll-behavior-x: contain; }
@media (min-width: 900px) { .qw-rail { scroll-padding-left: 40px; } }
.qw-app { padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .qw-app { padding-bottom: 48px; } }
.qw a:focus-visible, .qw button:focus-visible { outline: 2px solid var(--qw-vert); outline-offset: 2px; }
/* Cartes et boutons animés au survol : le curseur suit. */
.qw-gear, .qw-plus, .qw-type, .qw-filtre, .qw-carte, .qw-sec { cursor: pointer; }
/* Très petits écrans (iPhone SE 1re génération, 320 px) : gouttières et cartes resserrées. */
@media (max-width: 359px) {
  .qw-bloc-titre, .qw-section, .qw-pile, .qw-types, .qw-st, .qw-entete { padding-left: 16px; padding-right: 16px; }
  .qw-rail { padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; }
  .qw-prev-vide, .qw-note { margin-left: 16px; margin-right: 16px; }
  .qw-hero { padding-left: 16px; padding-right: 16px; }
  .qw-gear.rail, .qw-plus.rail { width: 180px; height: 260px; }
  .qw-spot { width: calc(100vw - 48px); }
  .qw-dock { width: calc(100% - 16px); gap: 6px; }
  .qw-scan-bulle { width: 60px; height: 60px; }
  .qw-tabs { height: 60px; }
  .qw-tabs a, .qw-tabs button { height: 50px; font-size: 9px; }
  .qw-tabs svg { width: 23px; height: 23px; }
  .qw-entete h1 { font-size: 28px; }
}
/* Les panneaux grandissent depuis la barre du bas / la cloche qui les ouvre. */
.qw-ajout, .qw-autres { transform-origin: 50% 100%; }
.qw-clpan { transform-origin: 90% 0; }
@media (min-width: 900px) { .qw-ajout, .qw-autres { transform-origin: 0 100%; } }
/* Quiver : la grille sert de repère aux cartes qui s'effacent pendant le filtrage ; la pastille de filtre change en fondu. */
.qw-grille { position: relative; }
.qw-filtre { transition: background-color .25s, color .25s, box-shadow .25s; }

/* Cartes Leaflet : leurs panneaux montent jusqu'à z-index 1000 ; sans contexte d'empilement propre, la carte passait par-dessus le menu « Autres » (z-index 19). */
.leaflet-container { isolation: isolate; }
/* Turquoise Qwiver des favoris : pins de la carte Spots, bouton « Ajouter à mes spots » et boutons de spots du profil. */
:root { --qw-fav: var(--qw-vert); --qw-fav-fonce: var(--qw-vert-texte); }

/* Filtres en pastilles (Agenda, Spots) : static/filtres.js */
.flt { padding: 14px 24px 0; }
.flt-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.flt-t { font: 700 13px var(--qw-font); padding: 8px 12px; border-radius: 999px; border: none; background: #fff; color: var(--qw-navy); box-shadow: inset 0 0 0 var(--filet, 1px) var(--qw-line); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.flt-t::after { content: ''; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.flt-t[aria-expanded=true] { box-shadow: inset 0 0 0 var(--filet, 1px) var(--qw-navy); }
.flt-t[aria-expanded=true]::after { transform: translateY(1px) rotate(-135deg); }
.flt-t.has { color: var(--qw-vert-texte); box-shadow: inset 0 0 0 var(--filet, 1px) var(--qw-vert); background: var(--qw-teal-soft); }
.flt-panel { margin-top: 10px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: var(--qw-shadow); display: flex; flex-direction: column; gap: 10px; }
.flt-panel[hidden] { display: none; }
.flt-l { font: 700 11px var(--qw-font); color: var(--qw-gris-texte); text-transform: uppercase; letter-spacing: .04em; }
.flt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.flt-c { --c: #6b7280; font: 700 12.5px var(--qw-font); padding: 6px 11px; border-radius: 999px; border: none; cursor: pointer; }
.flt-c small { font-weight: 600; opacity: .7; margin-left: 5px; }
.flt-c.plain { background: #fff; color: var(--qw-navy); box-shadow: inset 0 0 0 var(--filet, 1px) var(--qw-line); }
.flt-c.plain[aria-pressed=true] { background: var(--qw-navy); color: #fff; box-shadow: none; }
.flt-c.color { color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); }
.flt-c.color[aria-pressed=true] { background: var(--c); color: #fff; }
.flt-c.turq { background: #fff; color: var(--qw-vert-texte); box-shadow: inset 0 0 0 var(--filet, 1px) var(--qw-vert); }
.flt-c.turq[aria-pressed=true] { background: var(--qw-vert-texte); color: var(--qw-navy); box-shadow: none; }
/* Étiquettes des fiches */
.tag { --c: #6b7280; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #eef0f3; color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); }
.tag.turq { background: #fff; color: var(--qw-vert-texte); box-shadow: inset 0 0 0 var(--filet, 1px) var(--qw-vert); }

/* --- News : carte du carrousel de l'accueil (largeur des cartes de prévisions) et liste de /news --- */
.nw-chip { align-self: flex-start; display: inline-block; font: 700 10px var(--qw-font); letter-spacing: .6px; text-transform: uppercase; padding: 4px 10px; border-radius: 12px; color: var(--c, var(--qw-navy)); background: var(--cb, var(--qw-surface-2)); }
.nw-t-produits { --c: #1f7e7a; --cb: #e0faf8; }
.nw-t-evenements { --c: #6a4cb8; --cb: #efeafa; }
.nw-t-competitions { --c: #b8620f; --cb: #fdf0e1; }
.nw-t-videos { --c: #b83a3a; --cb: #fbe9e9; }
.nw-t-securite { --c: #232851; --cb: #e6e8f1; }
.nw-t-autres { --c: #6b6f8a; --cb: #eef0f3; }
.nw-card { flex: none; width: 316px; min-height: 178px; box-sizing: border-box; display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: 24px; padding: 16px; box-shadow: 0 4px 12px rgba(36,41,82,.06); color: var(--qw-navy); text-decoration: none; }
.nw-t { font-weight: 800; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.nw-card .nw-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-s { font: 400 12.5px/1.4 Inter, var(--qw-font); color: var(--qw-gris-texte); }
.nw-card .nw-s { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-src { margin-top: auto; font-size: 11px; font-weight: 700; color: var(--qw-vert-texte); }
.nw-semaine { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px 24px 0; font-size: 14px; }
.nw-semaine a, .nw-semaine span { font-size: 24px; line-height: 1; color: var(--qw-vert-texte); text-decoration: none; padding: 0 8px; }
.nw-semaine span { color: var(--qw-line); }
.nw-theme { padding: 20px 24px 0; }
.nw-liste { display: flex; flex-direction: column; gap: 10px; padding: 10px 24px 0; }
.nw-ligne { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; background: var(--qw-card); border-radius: 14px; box-shadow: var(--qw-shadow); padding: 14px 16px; color: var(--qw-navy); text-decoration: none; }
@media (min-width: 900px) { .nw-semaine, .nw-theme, .nw-liste { padding-left: 40px; padding-right: 40px; } }
@media (max-width: 400px) { .nw-semaine, .nw-theme, .nw-liste { padding-left: 16px; padding-right: 16px; } }

/* News : sports en étiquettes (mêmes couleurs que l'agenda, voir static/filtres.js) */
.nw-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.nw-sp-kite { --c: #e8832a; } .nw-sp-wingfoil { --c: #2b7bd9; } .nw-sp-windsurf { --c: #8a54c8; } .nw-sp-surf { --c: #d9475f; }
.nw-sp-sup { --c: #b58a0b; } .nw-sp-pumpfoil { --c: #0b7285; } .nw-sp-parawing { --c: #d6409f; }
.nw-pied { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }

/* News : vignette (picto du thème en fond, image de l'article par-dessus) */
.nw-img { flex: none; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; color: var(--c, var(--qw-navy)); }
.nw-img svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nw-haut { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nw-hg { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.nw-corps { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }

/* --- 2026-11-05 : bandeau bleu sombre sans vidéo, sélecteur News / Agenda ------------------------------------ */
.qw-hero { aspect-ratio: auto !important; background: var(--qw-navy); border-radius: 0 0 28px 28px; padding-bottom: 20px; }
.qw-hero-fond { display: none; }
.qw-hero .logo img { filter: none; }
.qw-hero .qw-cloche, .qw-hero .qw-burger { background: rgba(255,255,255,.14); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nw-vues { display: flex; gap: 4px; margin: 16px 24px 0; padding: 4px; background: var(--qw-surface-2); border-radius: 14px; }
.nw-vues a { flex: 1; text-align: center; padding: 10px 12px; border-radius: 11px; font: 700 14px var(--qw-font); color: var(--qw-navy); text-decoration: none; }
.nw-vues a.on { background: var(--qw-navy); color: #fff; }

/* --- Session : prévisions compactes (comme l'ancien accueil) + volet fixe vent / taille par discipline ---------- */
.qw-tl { --w: 36px; --rowh: 104px; --pw: 100px; margin: 12px 24px 0; padding: 14px 0; }
.qw-tl .tete { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.qw-tl .tete .nom { font-size: 15px; min-width: 0; }
.qw-tl .tete .quand { margin: 0; min-height: 0; flex: none; }
.qw-tl .corps { display: flex; margin-top: 10px; align-items: flex-start; }
.qw-tl .side { position: sticky; left: 0; z-index: 3; flex: none; width: var(--pw); min-height: var(--rowh); padding: 0 8px 0 16px; box-sizing: border-box; background: #fff; box-shadow: 8px 0 8px -4px #fff; }
.qw-tl .side .f { display: none; flex-direction: column; gap: 4px; }
.qw-tl .side .f.on { display: flex; }
.qw-tl .side .vent { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 4px; line-height: 1.1; padding-top: 2px; }
.qw-tl .side .vent b { font: 800 22px var(--qw-font); }
.qw-tl .side .vent span { font-size: 11px; color: var(--qw-gris-texte); }
.qw-tl .side .vent small { flex-basis: 100%; font-size: 11px; color: var(--qw-gris-texte); }
.qw-tl .side .c { display: flex; align-items: center; gap: 6px; font-size: 14px; min-height: 22px; }
.qw-tl .side .c.ko { font-size: 12px; }
.qw-tl .side .pic { width: 20px; height: 20px; }
.qw-tl .row { margin-top: 0; }
.qw-tl .stick-cur { margin-top: 10px; }
.qw-tl .col { padding: 6px 2px 0; gap: 5px; }
.qw-tl .col .t { font-size: 10px; }
.qw-tl .col .v { height: 26px; border-radius: 7px; font-size: 12.5px; }
.qw-tl .col svg { margin-top: 2px; }
.qw-tl .stick-cur i { height: var(--rowh); }

/* ---- Quiver : recherche d'ajout, fiche modèle, badge QR, récapitulatif ---- */
.qv-ligne { display: flex; align-items: center; gap: 10px; }
.qv-champ { flex: 1; min-width: 0; }
.qv-scan { flex: none; width: 40px; height: 40px; border-radius: 14px; background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; }
.qv-scan svg { width: 22px; height: 22px; }
.qv-res .vide a, .qv-manuel { color: var(--qw-vert-texte); font-weight: 700; text-decoration: none; }
.qv-manuel { display: block; padding: 12px 8px 6px; font-size: 13px; }
.qv-filtres { padding: 6px 4px 4px; border-bottom: 1px solid var(--qw-line); margin-bottom: 4px; }
.qv-lbl { margin: 10px 0 6px; font: 800 11px var(--qw-font); letter-spacing: .08em; text-transform: uppercase; color: var(--qw-gris-texte); }
.qv-lbl .opt { text-transform: none; letter-spacing: 0; font-weight: 600; }
.qv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.qv-c { font: 600 12px var(--qw-font); padding: 6px 11px; border-radius: 999px; border: 0; cursor: pointer; background: var(--qw-surface-2); color: var(--qw-gris-texte); }
.qv-c.on { background: var(--qw-teal-soft); color: var(--qw-vert-texte); box-shadow: inset 0 0 0 var(--filet, 1px) var(--qw-vert); }
.qv-res-i { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 6px; border: 0; background: none; border-radius: 12px; text-align: left; font-family: var(--qw-font); color: var(--qw-navy); cursor: pointer; }
.qv-res-i:hover { background: var(--qw-surface-2); }
.qv-res-i .vig { width: 44px; height: 44px; border-radius: 10px; background: var(--qw-surface-2) center/contain no-repeat; flex: none; }
.qv-res-i .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; }
.qv-res-i .tx span { color: var(--qw-gris-texte); font-size: 12px; }
.qv-res-i .chev { color: var(--qw-gris); font-size: 20px; }

.qv-voile { position: fixed; inset: 0; background: rgba(35,40,81,.45); z-index: 80; }
.qv-feuille { position: fixed; z-index: 81; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 430px; max-height: 88vh; background: #fff; border-radius: 28px 28px 0 0; display: flex; flex-direction: column; box-shadow: 0 -10px 30px rgba(35,40,81,.2); }
.qv-voile[hidden], .qv-feuille[hidden] { display: none; }
.qv-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--qw-surface-2); color: var(--qw-navy); font-size: 14px; cursor: pointer; z-index: 2; }
.qv-fiche { padding: 24px 24px 8px; overflow-y: auto; flex: 1; }
.qv-fiche h2 { margin: 2px 0 4px; font: 800 24px/1.1 var(--qw-font); letter-spacing: -.4px; }
.qv-marque { font: 700 13px var(--qw-font); color: var(--qw-vert-texte); padding-right: 40px; }
.qv-meta { color: var(--qw-gris-texte); font-size: 13px; }
.qv-img { height: 150px; margin: 6px 0 12px; border-radius: 18px; background: var(--qw-surface-2) center/contain no-repeat; }
.qv-info { font-size: 13px; line-height: 1.5; color: var(--qw-gris-texte); }
.qv-an { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--qw-line); }
.qv-an b { flex: none; width: 56px; color: var(--qw-navy); }
.qv-aide { font-size: 13px; color: var(--qw-gris-texte); margin: 0 0 10px; line-height: 1.45; }
.qv-bas { padding: 12px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--qw-line); background: #fff; }
.qv-ok { display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; border: 0; border-radius: 25px; background: var(--qw-navy); color: #fff; font: 700 15px var(--qw-font); cursor: pointer; text-decoration: none; }
.qv-ok:disabled { opacity: .6; }
.qv-code { display: flex; gap: 8px; }
.qv-code input { flex: 1; min-width: 0; width: 100%; height: 52px; text-align: center; font: 800 20px var(--qw-font); text-transform: uppercase; border: 0; border-radius: 12px; background: var(--qw-surface-2); color: var(--qw-navy); padding: 0; }
.qv-code input:focus { outline: 2px solid var(--qw-vert); }
.qv-txt { width: 100%; height: 44px; border: 0; border-radius: 12px; background: var(--qw-surface-2); padding: 0 14px; font: 400 16px var(--qw-font); color: var(--qw-navy); }
.qv-err { margin-top: 12px; color: var(--qw-alerte); font-size: 13px; font-weight: 600; }
.qv-err[hidden] { display: none; }

.qv-qr { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--qw-vert-texte); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(35,40,81,.15); z-index: 2; }
.qv-qr svg { width: 18px; height: 18px; }
.qv-qr.off { color: var(--qw-gris); cursor: pointer; }
.qv-qr .barre { position: absolute; left: 50%; top: 50%; width: 22px; height: 2px; background: var(--qw-alerte); border-radius: 2px; transform: translate(-50%, -50%) rotate(-45deg); }
.qw-gear .qw-chip { z-index: 2; }

.qv-recap { margin-top: 34px; }
.qv-recap-in { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--qw-shadow); }
.qv-rond { position: relative; width: 96px; height: 96px; flex: none; }
.qv-rond svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.qv-rond circle { fill: none; stroke-width: 4; }
.qv-rond .fond { stroke: var(--qw-surface-2); }
.qv-rond .val { stroke: var(--qw-vert); stroke-linecap: round; }
.qv-rond span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; color: var(--qw-gris-texte); }
.qv-rond b { font: 800 24px/1 var(--qw-font); color: var(--qw-navy); }
.qv-lg { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.qv-lg .pt { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.qv-lg .pt.on { background: var(--qw-vert); } .qv-lg .pt.off { background: var(--qw-surface-2); box-shadow: inset 0 0 0 var(--filet, 1px) var(--qw-gris); }
.qv-val { margin-top: 12px; background: #fff; border-radius: 22px; padding: 16px 18px; box-shadow: var(--qw-shadow); }
.qv-val-n { font: 800 26px var(--qw-font); letter-spacing: -.4px; }
.qv-val-s { font-size: 12px; color: var(--qw-gris-texte); margin-top: 4px; line-height: 1.45; }

/* ---- Messagerie anonymisée ---- */
.msg-garde { margin: 16px 0; padding: 14px 16px; border-radius: 16px; background: var(--qw-teal-soft); color: var(--qw-navy); font-size: 13px; line-height: 1.5; }
.msg-aide { font-size: 13px; color: var(--qw-gris-texte); line-height: 1.5; margin: 16px 0 0; }
.msg-form { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.msg-form label { margin-top: 10px; font: 700 12px var(--qw-font); color: var(--qw-gris-texte); }
.msg-form .opt { font-weight: 400; }
.msg-area { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.4; }
.msg-piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg-fil { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 16px; }
.msg-b { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
.msg-b .d { margin-top: 4px; font-size: 11px; opacity: .65; white-space: normal; }
.msg-b.moi { align-self: flex-end; background: var(--qw-navy); color: #fff; border-bottom-right-radius: 6px; }
.msg-b.autre { align-self: flex-start; background: #fff; box-shadow: var(--qw-shadow); border-bottom-left-radius: 6px; }
.msg-bloquer { margin: 22px 0 0; text-align: center; }
.msg-bloquer button { background: none; border: 0; color: var(--qw-alerte); font: 700 13px var(--qw-font); text-decoration: underline; cursor: pointer; }
.msg-liste { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.msg-l { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: var(--qw-shadow); color: var(--qw-navy); text-decoration: none; }
.msg-l .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; }
.msg-l .tx span { color: var(--qw-gris-texte); font-size: 12px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-l .d { font-size: 11px; color: var(--qw-gris); flex: none; }
.msg-l.nonlu .tx b::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--qw-alerte); margin-right: 8px; }
.qw-msg { position: relative; }
.qw-msg .pt { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--qw-alerte); box-shadow: 0 0 0 2px var(--qw-navy); }

.qv-val-t { font: 800 11px var(--qw-font); letter-spacing: .08em; text-transform: uppercase; color: var(--qw-gris-texte); margin-bottom: 6px; }
.qv-val-s { font-size: 13px; color: var(--qw-gris-texte); margin: 8px 0 0; line-height: 1.5; }
.qv-val-q { font-size: 13px; line-height: 1.5; margin: 16px 0 0; }
.qv-shop { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; margin-top: 12px; border-radius: 19px; background: var(--qw-navy); color: #fff; font: 700 13px var(--qw-font); text-decoration: none; }

/* Mon quiver façon catalogue (2026-11-10) : mêmes cartes que qwiver.app (static/catalogue/catalogue.css, .cards / .card /
   .thumb / .meta), jetons de static/catalogue/commun.css. En plus : la taille ou le volume choisi (.z), le badge QR, « Perdu ». */
body.qw:has(.qv-cards) { background: #fff; }
.qw-grille.qv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 14px; clip-path: inset(0 1px 1px 0); }
@media (min-width: 700px) { .qw-grille.qv-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qv-cards .qw-gear.grille, .qv-cards .qw-plus.grille { position: relative; height: auto; border-radius: 0; box-shadow: none; background: #fff; overflow: visible; display: flex; flex-direction: column; padding: 14px 12px 6px; }
.qv-cards .qw-gear.grille:hover, .qv-cards .qw-plus.grille:hover { background: #f7f8fa; }
.qv-cards .qw-gear::before, .qv-cards .qw-gear::after, .qv-cards .qw-plus::before, .qv-cards .qw-plus::after { content: ''; position: absolute; background: var(--line); pointer-events: none; }
.qv-cards .qw-gear::before, .qv-cards .qw-plus::before { right: 0; top: 25px; bottom: 25px; width: 1px; }
.qv-cards .qw-gear::after, .qv-cards .qw-plus::after { bottom: 0; left: 25px; right: 25px; height: 1px; }
.qv-thumb { display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 10px; background: #fff; }
.qv-cards .qw-gear .qv-thumb img { position: static; width: 100%; height: 100%; object-fit: contain; display: block; }
.qv-cards .qw-gear .qv-thumb.perso img { object-fit: cover; border-radius: 18px; }   /* photo du propriétaire : pleine vignette */
.qv-thumb .lname { font: 800 15px var(--font); color: var(--gris); text-align: center; padding: 0 12px; overflow-wrap: anywhere; }
.qv-meta { display: grid; gap: 2px; padding: 4px 16px 12px; color: var(--navy); }
.qv-meta .b { font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }
.qv-meta .n { font-size: 26px; font-weight: 700; line-height: 1.15; margin: 2px 0; overflow-wrap: anywhere; }
.qv-meta .n .yr { font-size: .6em; font-weight: 400; color: var(--gris); white-space: nowrap; }
.qv-meta .s { color: var(--gris-t); font-size: 12px; }
.qv-meta .z { justify-self: start; margin-top: 4px; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--navy); font-size: 12px; font-weight: 700; }
.qv-cards .qw-chip { top: 22px; left: 22px; z-index: 1; }
.qv-cards .qv-qr { top: 22px; right: 22px; z-index: 1; box-shadow: 0 0 0 1px var(--line); }
.qv-cards .qw-plus.grille { align-items: center; justify-content: center; min-height: 240px; font-weight: 700; }
@media (max-width: 460px) { .qv-meta { padding: 4px 6px 12px; } .qv-meta .n { font-size: 21px; } }

/* Page Favoris : cœur plein en haut à droite de la carte (retire le favori), logo de marque quand il n'y a pas de visuel */
.qv-fav { position: absolute; top: 22px; right: 22px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.qv-fav:hover { background: #f7f8fa; }
.qv-fav svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.qv-cards .qw-gear .qv-thumb.logo img { width: 60%; height: auto; max-height: 50%; opacity: .85; }

/* Infos du quiver entre le titre et les filtres (2026-11-15) */
.qv-infos { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--qw-navy); }
.qv-infos li { white-space: nowrap; }
.qv-infos b { font-weight: 800; }

/* Bandeau d'information (2026-11-16) : de l'air dessous, croix pour le fermer */
.qw-flash { position: relative; margin: 16px 0 22px; padding-right: 48px; }
.qw-flash-x { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.qw-flash-x:hover { background: rgba(35, 40, 81, .08); }
.qw-flash-x svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* ==== Pages de l'app sur le gabarit commun (templates/base_app.html), 2026-11-16 ====
   Fond blanc, largeur et marges du catalogue (.cx-wrap) : les anciens blocs en colonne de 430 px n'ajoutent plus de marge latérale. */
.qw-page { font-family: var(--qw-font); }
.qw-page .qw-pad, .qw-page .qw-bloc-titre, .qw-page .qw-section, .qw-page .qw-pile, .qw-page .qw-rail, .qw-page .qw-types, .qw-page .qw-st { padding-left: 0; padding-right: 0; }
.qw-page .qw-bloc-titre:first-child, .qw-page .qw-bloc-titre:first-of-type { padding-top: 6px; }
.qw-page .qw-flash, .qw-page .qw-vide { margin-left: 0; margin-right: 0; }
.qw-page .qw-app { max-width: none; min-height: 0; padding-bottom: 0; }
@media (min-width: 900px) { .qw-page .qw-pad, .qw-page .qw-bloc-titre, .qw-page .qw-section { padding-left: 0; padding-right: 0; } }
