/* Installation uniquement, indépendante des anciens styles .wx-install. */
html body .wantx-install-access { position:fixed;left:12px;bottom:calc(var(--wantx-install-bottom,0px) + 12px + env(safe-area-inset-bottom,0px));z-index:70;width:44px;height:44px;min-height:44px;padding:9px;display:grid;place-items:center;border:2px solid #ff4242;border-radius:13px;background:#191013;color:#ff4242;box-shadow:0 3px 12px #0009;cursor:pointer; }
html body .wantx-install-access svg { width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round; }
html body .wantx-install-access:focus-visible { outline:3px solid white;outline-offset:3px; }
html body.has-nav header.topbar .wantx-notification-bell { flex:0 0 34px;position:relative;width:34px;height:40px;display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none; }
html body.has-nav header.topbar .wantx-notification-bell svg { width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
html body.has-nav header.topbar .wantx-notification-bell>em { display:none;position:absolute;right:-4px;top:-2px;min-width:18px;padding:1px 3px;border-radius:20px;background:#f32c83;color:white;font:700 10px system-ui;text-align:center; }
html body.has-nav header.topbar .wantx-notification-bell>em.show { display:block; }
@media(max-width:999px){html body.has-nav header.topbar .wantx-notification-bell{display:none;}}
/* Réserver les icônes dans l'en-tête, sans changer .desk-nav ni ses écarts validés. */
@media(min-width:1000px){html body.has-nav header.topbar:has(>.wantx-notification-bell){gap:12px!important;padding-left:clamp(16px,2vw,32px)!important;padding-right:clamp(16px,2vw,32px)!important;}}
@media(min-width:1000px) and (max-width:1279px){html body.has-nav header.topbar:has(>.wantx-notification-bell){gap:8px!important;padding-left:12px!important;padding-right:12px!important;}}
@media(min-width:1000px) and (max-width:1279px){html body.has-nav header.topbar:has(>.wantx-notification-bell)>.wx-mobile-notify{margin-left:0!important;}}
html body .wantx-install-panel {
  position: relative; z-index: 20; left: auto; right: auto; bottom: auto; top: auto;
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 36px; gap: 12px;
  margin: 0 0 12px; padding: 12px; border: 1px solid #535044; border-radius: 18px;
  background: #151617; color: #fff; box-shadow: 0 8px 24px #0006;
  max-height: none; overflow: visible; width: auto;
  font-size: 14px; line-height: 1.45; text-align: left; box-sizing: border-box;
}
html body .wantx-install-panel[hidden], html body [data-wantx-install][hidden],
html body .wantx-install-panel [hidden] { display: none !important; }
.wantx-install-panel > img { width: 36px; height: 36px; object-fit: contain; }
.wantx-install-copy b { display: block; font-size: 18px; color: #fff; }
.wantx-install-copy p { margin: 4px 0 0; color: #d9dbdf; }
.wantx-install-actions { grid-column: 2; display: flex; gap: 8px; flex-wrap: wrap; }
html body .wantx-install-actions button, html body .wantx-install-entry {
  min-height: 44px; padding: 10px 16px; border: 1px solid #ffe000; border-radius: 12px;
  background: #ffe000; color: #101010; font: inherit; font-weight: 800; cursor: pointer;
}
html body .wantx-install-actions .wantx-install-later { border-color: #53565d; background: transparent; color: #e5e7eb; }
html body .wantx-install-close {
  grid-column: 4; grid-row: 1; align-self: start; justify-self: end;
  width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0;
  border: 0; border-radius: 10px; background: transparent; color: #e5e7eb;
  font: 400 22px/1 inherit; cursor: pointer;
}
.wantx-install-help { margin-top: 10px; border-top: 1px solid #53565d; padding-top: 8px; }
.wantx-install-help ol { padding-left: 22px; margin: 6px 0 0; }
.wantx-install-help li { margin: 6px 0; color: #fff; }
html body .wantx-install-entry { background: #171819; color: #ffe000; border-color: #53565d; }
html body .wx-set-list > .wantx-install-entry { margin: 8px 0; width: 100%; text-align: left; }
.wantx-install-actions button:focus-visible, .wantx-install-entry:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (min-width: 768px) {
  html body .wantx-install-panel { max-width: 420px; }
}
/* Lien discret du pied de page : visible seulement quand l'installation est possible (masque par le script sinon). */
html body .wantx-install-foot{background:none;border:0;border-bottom:1px solid rgba(255,224,0,.45);border-radius:0;padding:4px 2px;min-height:32px;color:#ffe000;font-weight:600;font-size:13px;line-height:1.3;font-family:inherit;cursor:pointer}
html body .wantx-install-foot[hidden]{display:none}
html body .wantx-install-foot:hover{color:#fff;border-bottom-color:#fff}
html body .wantx-install-foot:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* Correctif 16/11 : sur les pages publiques (accueil, connexion, inscription, mentions) le bouton d'installation n'est plus superpose au contenu en mobile : il passe dans le flux, apres le pied de page. Pages membre (body.has-nav) inchangees. */
@media(max-width:999px){html body.public .wantx-install-access{position:static;display:grid;margin:8px 12px calc(16px + env(safe-area-inset-bottom,0px));}}
/* Correctif 16/11 (2) : plus de bouton flottant sur PC (>=1000 px) ni dans les pages membre (body.has-nav). L'installation reste proposee par le panneau et par les entrees Installer WANTX (reglages, pied de page). */
@media(min-width:1000px){html body .wantx-install-access{display:none!important}}
html body.has-nav .wantx-install-access{display:none!important}
