
/* 0.9.0 — coque mobile FeedBari */
@media(min-width:821px){
  .fbrf-mobile-shell,
  .fbrf-mobile-bottomnav,
  .fbrf-mobile-sheet,
  .fbrf-mobile-overlay,
  .fbrf-install-prompt{display:none!important}
}
@media(max-width:820px){
  body.fbrf-mobile-shell-enabled{padding-bottom:88px}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-shell{display:block!important}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-head{
    position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid #e8edf3;
    box-shadow:0 4px 18px rgba(0,42,92,.06);padding:10px 12px 12px;
  }
  body.admin-bar.fbrf-mobile-shell-enabled .fbrf-mobile-head{top:46px}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-head__top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-head__brand{display:flex;align-items:center;min-width:0;text-decoration:none!important;color:#002A5C!important}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-head__brand img{display:block;max-width:165px;max-height:42px;width:auto;height:auto;object-fit:contain}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-head__brand strong{font-size:1.65rem;line-height:1;color:#002A5C}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-more{
    width:42px;height:42px;border:0;border-radius:14px;background:#F3F7FA;color:#002A5C;
    display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-more svg,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-search__icon svg,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-bottomnav__item svg,
  body.fbrf-mobile-shell-enabled .fbrf-sheet-cta svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-overflow{
    margin:0 0 10px;background:#fff;border:1px solid #E3EAF2;border-radius:18px;padding:10px 12px;box-shadow:0 12px 30px rgba(0,42,92,.08)
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-overflow strong{display:block;margin:0 0 8px;color:#002A5C}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-overflow nav{display:grid;gap:6px}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-overflow a{display:block;padding:11px 12px;border-radius:12px;background:#F8FBFD;color:#002A5C!important;text-decoration:none!important;font-weight:700}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-search{
    display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;height:48px;padding:0 14px;border-radius:999px;background:#F3F5F7;border:1px solid #E7ECF2
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-search input{
    border:0!important;box-shadow:none!important;background:transparent!important;height:44px;width:100%;min-width:0;padding:0!important;font:inherit!important;color:#314153!important;outline:none!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-search__icon{display:inline-flex;align-items:center;justify-content:center;color:#728194}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-filtered{
    display:flex;gap:8px;overflow:auto;white-space:nowrap;scrollbar-width:none;padding-top:10px
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-filtered::-webkit-scrollbar{display:none}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-filtered a{
    flex:0 0 auto;padding:10px 12px;border-radius:999px;background:#F8FBFD;border:1px solid #E4EBF2;color:#002A5C!important;text-decoration:none!important;font-weight:800;font-size:.95rem
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-shell__ads{padding:10px 0 0}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-shell__ads .fbam-wrap,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-shell__ads .fbam-ad-card{border-radius:18px;overflow:hidden}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-bottomnav{
    position:fixed;left:0;right:0;bottom:0;z-index:1200;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;
    padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-top:1px solid #e7edf3;box-shadow:0 -10px 28px rgba(0,42,92,.08)
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-bottomnav__item{
    position:relative;min-width:0;border:0;background:transparent;color:#0F2540;text-decoration:none!important;padding:6px 4px;border-radius:16px;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font:inherit;cursor:pointer
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-bottomnav__item span{font-size:.72rem;font-weight:800;line-height:1.1;text-align:center}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-bottomnav__item.is-accent{background:#EAF2FF;color:#0B4AA2}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-bottomnav__item b{
    position:absolute;top:2px;right:10px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#16a34a;color:#fff;font-size:10px;font-weight:900;display:inline-flex;align-items:center;justify-content:center
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-overlay{position:fixed;inset:0;background:rgba(7,18,36,.35);z-index:1390}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-sheet{
    position:fixed;left:0;right:0;bottom:0;z-index:1400;background:#fff;border-radius:24px 24px 0 0;box-shadow:0 -18px 48px rgba(0,42,92,.18);max-height:82vh;overflow:auto
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-sheet__head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;background:#fff;border-bottom:1px solid #E8EDF3}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-sheet__head strong{color:#002A5C;font-size:1rem}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-sheet__head button,
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__close{width:34px;height:34px;border:0;border-radius:999px;background:#F3F7FA;color:#002A5C;font-size:22px;line-height:1;cursor:pointer}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-sheet__body{padding:16px 18px 24px}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-sheet__intro p,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-block p{margin:0 0 12px;color:#536477;line-height:1.6}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-block{padding:14px 0;border-bottom:1px solid #EDF2F6}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-block:last-child{border-bottom:0}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-block h3{margin:0 0 10px;color:#002A5C;font-size:1rem}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-links{display:grid;gap:8px}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-links a,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-links span{display:block;padding:12px 14px;border-radius:14px;background:#F8FBFD;color:#002A5C!important;text-decoration:none!important}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-credit{color:#D59B00!important;font-weight:800}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-push-box{padding:14px;border-radius:18px;background:#F8FBFD;border:1px solid #E4EBF2;margin-bottom:14px}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-push-box p{margin:6px 0 10px;color:#536477;line-height:1.55}
  body.fbrf-mobile-shell-enabled .fbrf-sheet-main-button,
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__primary{border:0;border-radius:999px;background:#002A5C;color:#fff;padding:12px 16px;font-weight:800;cursor:pointer}
  body.fbrf-mobile-shell-enabled [data-fbrf-v6-status]{display:block;margin-top:8px;color:#D59B00;font-size:.84rem;font-weight:700;line-height:1.45}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-alerts-list{display:grid;gap:10px}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-alerts-list__item{display:block;padding:14px;border-radius:16px;background:#fff;border:1px solid #E6ECF3;color:#002A5C!important;text-decoration:none!important}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-alerts-list__item strong,body.fbrf-mobile-shell-enabled .fbrf-mobile-alerts-list__item small{display:block}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-alerts-list__item small{margin-top:5px;color:#D59B00;font-size:.8rem}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-sheet__empty{margin:0;color:#64748b;text-align:center;padding:18px 4px}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-cta-list{display:grid;gap:10px}
  body.fbrf-mobile-shell-enabled .fbrf-sheet-cta{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:18px;background:#F8FBFD;color:#002A5C!important;text-decoration:none!important;border:1px solid #E4EBF2;font-weight:800}
  body.fbrf-mobile-shell-enabled .fbrf-sheet-cta.is-wa{background:#ecfdf3;border-color:#b7e4c7}
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt{position:fixed;inset:0;z-index:1500;background:rgba(4,12,26,.42);padding:18px;display:flex;align-items:flex-end;justify-content:center}
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__card{position:relative;width:min(420px,100%);background:#fff;border-radius:26px;padding:22px 20px 18px;box-shadow:0 30px 60px rgba(0,42,92,.24)}
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__icon{width:72px;height:72px;border-radius:22px;background:#F3F7FA;display:flex;align-items:center;justify-content:center;overflow:hidden;margin:0 auto 12px}
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__icon img{width:100%;height:100%;object-fit:cover}
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__card strong{display:block;margin:0 0 10px;color:#002A5C;font-size:1.15rem;text-align:center}
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__card p{margin:0 0 14px;color:#536477;line-height:1.55;text-align:center}
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__secondary{border:0;border-radius:999px;background:#F3F7FA;color:#002A5C;padding:12px 16px;font-weight:800;cursor:pointer}
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt small{display:block;margin-top:12px;padding:12px 14px;border-radius:16px;background:#F8FBFD;color:#536477;line-height:1.5}
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt small b{display:block;color:#002A5C;margin-bottom:4px}

  body.fbrf-mobile-shell-enabled.fbrf-notification-integrated .fbp-v5-floating{visibility:hidden!important;pointer-events:none!important;opacity:0!important}

  /* masquer le chrome lourd sur mobile au profit de la coque */
  body.fbrf-mobile-shell-enabled.fbrf-mobile-shell-replace #masthead,
  body.fbrf-mobile-shell-enabled.fbrf-mobile-shell-replace header.site-header,
  body.fbrf-mobile-shell-enabled.fbrf-mobile-shell-replace .site-header,
  body.fbrf-mobile-shell-enabled.fbrf-mobile-shell-replace .ast-mobile-header-wrap,
  body.fbrf-mobile-shell-enabled.fbrf-mobile-shell-replace footer.site-footer,
  body.fbrf-mobile-shell-enabled.fbrf-mobile-shell-replace #colophon,
  body.fbrf-mobile-shell-enabled.fbrf-mobile-shell-replace .site-footer,
  body.fbrf-mobile-shell-enabled.fbrf-mobile-shell-replace .fbrf-browser-header,
  body.fbrf-mobile-shell-enabled.fbrf-mobile-shell-replace .fbrf-global-footer{display:none!important}
}

/* 0.9.1 — installation compacte dynamique, inspirée de Mont-Sion */
@media(max-width:820px){
  body.fbrf-mobile-shell-enabled{padding-bottom:102px}

  body.fbrf-mobile-shell-enabled .fbrf-mobile-bottomnav{
    left:7px!important;right:7px!important;bottom:7px!important;
    border:1px solid #e7edf3!important;border-radius:22px!important;
    padding:8px 8px calc(8px + env(safe-area-inset-bottom))!important;
    overflow:visible!important;
  }

  /* L'ancien PWA V3 conserve son moteur, mais plus son bandeau visuel. */
  body.fbrf-mobile-shell-enabled .feedbari-pwa-install-wrap{
    display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;
  }

  body.fbrf-mobile-shell-enabled .fbrf-install-prompt{
    position:fixed!important;
    inset:auto auto calc(94px + env(safe-area-inset-bottom)) 50%!important;
    z-index:1350!important;
    width:min(390px,calc(100% - 18px))!important;
    padding:7px 44px 7px 7px!important;
    border:1px solid rgba(15,23,42,.10)!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 16px 42px rgba(15,23,42,.18)!important;
    transform:translate(-50%,16px)!important;
    opacity:0!important;
    transition:transform .18s ease,opacity .18s ease!important;
    backdrop-filter:blur(14px)!important;
    display:block!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt[hidden]{display:none!important}
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt.is-visible{
    transform:translate(-50%,0)!important;opacity:1!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__action{
    width:100%!important;display:flex!important;align-items:center!important;gap:10px!important;
    border:0!important;border-radius:13px!important;background:transparent!important;
    color:#1f2937!important;text-align:left!important;padding:6px 8px!important;cursor:pointer!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt[data-mode="native"] .fbrf-install-prompt__action{
    background:rgba(0,42,92,.055)!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__icon{
    width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:12px!important;
    background:#F3F7FA!important;display:flex!important;align-items:center!important;justify-content:center!important;
    overflow:hidden!important;margin:0!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__icon img{
    width:100%!important;height:100%!important;object-fit:contain!important;padding:3px!important;box-sizing:border-box!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__text{display:block!important;min-width:0!important}
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__text strong{
    display:block!important;margin:0!important;color:#002A5C!important;font-size:15px!important;line-height:1.25!important;text-align:left!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__text small{
    display:block!important;margin:3px 0 0!important;padding:0!important;background:transparent!important;
    color:#64748b!important;font-size:12px!important;line-height:1.25!important;text-align:left!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt[data-mode="native"] .fbrf-install-prompt__text small{
    color:#18864b!important;font-weight:700!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt__close{
    position:absolute!important;top:50%!important;right:8px!important;transform:translateY(-50%)!important;
    width:30px!important;height:30px!important;border:0!important;border-radius:50%!important;background:#F3F7FA!important;
    color:#64748b!important;font-size:20px!important;line-height:1!important;cursor:pointer!important
  }

  body.fbrf-mobile-shell-enabled .fbrf-ios-install-guide{
    position:fixed!important;inset:0!important;z-index:1450!important;
    display:flex!important;align-items:flex-end!important;justify-content:center!important;
    padding:14px!important;background:rgba(15,23,42,.42)!important;opacity:0!important;transition:opacity .15s ease!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-ios-install-guide[hidden]{display:none!important}
  body.fbrf-mobile-shell-enabled .fbrf-ios-install-guide.is-visible{opacity:1!important}
  body.fbrf-mobile-shell-enabled .fbrf-ios-install-guide__card{
    position:relative!important;width:min(420px,100%)!important;padding:20px!important;border-radius:22px!important;
    background:#fff!important;color:#1f2937!important;box-shadow:0 24px 70px rgba(15,23,42,.28)!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-ios-install-guide__close{
    position:absolute!important;right:12px!important;top:12px!important;width:32px!important;height:32px!important;
    border:0!important;border-radius:50%!important;background:#F3F7FA!important;color:#64748b!important;font-size:21px!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-ios-install-guide__card>strong{display:block!important;padding-right:38px!important;color:#002A5C!important;font-size:18px!important}
  body.fbrf-mobile-shell-enabled .fbrf-ios-install-guide__card>p{margin:9px 0 12px!important;color:#64748b!important;line-height:1.45!important}
  body.fbrf-mobile-shell-enabled .fbrf-ios-install-guide__card ol{margin:0 0 14px 20px!important;padding:0!important;color:#425466!important;line-height:1.55!important}
  body.fbrf-mobile-shell-enabled .fbrf-ios-install-guide__done{
    width:100%!important;border:0!important;border-radius:12px!important;background:#002A5C!important;color:#fff!important;padding:11px 14px!important;font-weight:800!important
  }

  body.fbrf-mobile-shell-enabled .fbrf-mobile-info{
    border-bottom:1px solid #EDF2F6!important;padding:2px 0!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-info summary{
    list-style:none!important;cursor:pointer!important;padding:14px 2px!important;color:#002A5C!important;font-weight:800!important;position:relative!important;padding-right:28px!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-info summary::-webkit-details-marker{display:none!important}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-info summary:after{
    content:'+'!important;position:absolute!important;right:4px!important;top:50%!important;transform:translateY(-50%)!important;
    width:22px!important;height:22px!important;border-radius:50%!important;background:#F3F7FA!important;display:flex!important;align-items:center!important;justify-content:center!important
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-info[open] summary:after{content:'−'!important}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-info>div{padding:0 2px 14px!important;color:#536477!important;line-height:1.62!important}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-info>div p{margin:0 0 10px!important}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-info__intro{color:#314153!important;font-weight:650!important}
}

/* 0.9.2 — densité, déduplication et typographie unifiée */
@media(max-width:820px){
  body.fbrf-mobile-shell-enabled .fbrf-mobile-shell,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-bottomnav,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-sheet,
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt,
  body.fbrf-mobile-shell-enabled .fbrf-ios-install-guide{
    font-family:var(--fbrf-mobile-font,"Cambria Math",Cambria,"Times New Roman",serif)!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-shell button,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-shell input,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-shell a,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-bottomnav button,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-bottomnav a,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-sheet button,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-sheet a,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-sheet summary,
  body.fbrf-mobile-shell-enabled .fbrf-install-prompt button,
  body.fbrf-mobile-shell-enabled .fbrf-ios-install-guide button{
    font-family:inherit!important;
  }

  body.fbrf-mobile-shell-enabled .fbrf-mobile-head{
    padding:8px 10px 10px!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-head__top{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
    margin-bottom:0!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-head__brand{
    min-width:0!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-head__brand img{
    width:auto!important;
    max-width:96px!important;
    max-height:34px!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-head__brand strong{
    font-size:1.25rem!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-search{
    min-width:0!important;
    width:100%!important;
    height:42px!important;
    padding:0 11px!important;
    gap:7px!important;
    border-radius:999px!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-search input{
    min-width:0!important;
    height:40px!important;
    font-size:.94rem!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-search__icon svg{
    width:18px!important;height:18px!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-more{
    width:40px!important;height:40px!important;border-radius:13px!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-overflow{
    margin:8px 0 0!important;
    padding:8px!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-overflow nav{
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-overflow a{
    padding:10px 11px!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-shell__ads{
    padding-top:8px!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-filtered{
    padding-top:8px!important;
    gap:7px!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-filtered a{
    padding:9px 11px!important;
    font-size:.92rem!important;
  }

  /* Quand la coque a déjà son menu / sa pub de tête, les anciens modules hauts disparaissent. */
  body.fbrf-mobile-shell-enabled .fbrf-mobile-duplicate-hidden{
    display:none!important;
  }

  /* Une fois l'abonnement Push détecté, le bloc d'activation ne reste pas figé. */
  body.fbrf-mobile-shell-enabled [data-fbrf-push-box][hidden]{display:none!important}

  body.fbrf-mobile-shell-enabled .fbrf-mobile-sheet__body,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-info>div,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-sheet__intro,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-block{
    font-family:var(--fbrf-mobile-font,"Cambria Math",Cambria,"Times New Roman",serif)!important;
  }

  @media(max-width:390px){
    body.fbrf-mobile-shell-enabled .fbrf-mobile-head__brand img{max-width:78px!important}
    body.fbrf-mobile-shell-enabled .fbrf-mobile-search input{font-size:.86rem!important}
    body.fbrf-mobile-shell-enabled .fbrf-mobile-search{padding:0 9px!important}
  }
}

/* 0.9.3 — signature mobile unique */
@media(max-width:820px){
  body.fbrf-mobile-shell-enabled .fbrf-mobile-signature{
    margin:18px 14px 14px!important;padding:14px 10px!important;text-align:center!important;
    color:#002A5C!important;font-size:.92rem!important;line-height:1.45!important;
    border-top:1px solid #E5EBF1!important;background:transparent!important;
    font-family:var(--fbrf-mobile-font,"Cambria Math",Cambria,"Times New Roman",serif)!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-signature a,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-signature-inline a{
    color:#D59B00!important;font-weight:800!important;text-decoration:none!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-signature-inline{margin:0!important}
  body.fbrf-mobile-shell-enabled .fbrf-legacy-copyright-hidden{display:none!important}
}


/* 0.10.3 — finitions mobiles sur branche 0.10.2 sûre */
@media(max-width:820px){
  body.fbrf-mobile-shell-enabled .fbrf-mobile-head{
    padding:14px 10px 12px!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-head__brand img{
    max-width:108px!important;
    max-height:40px!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-head__top{
    gap:9px!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-search{
    min-width:0!important;
  }

  body.fbrf-mobile-shell-enabled .fbrf-mobile-contact-links a,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-contact-static{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    padding:12px 14px!important;
    border-radius:14px!important;
    background:#F8FBFD!important;
    color:#002A5C!important;
    text-decoration:none!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-contact-icon{
    width:30px!important;height:30px!important;flex:0 0 30px!important;
    border-radius:9px!important;background:#EEF4F8!important;color:#D59B00!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-contact-icon svg{
    width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;
    stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-block--signature{
    padding-top:16px!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-block--signature:before{content:none!important}
  body.fbrf-mobile-shell-enabled .fbrf-mobile-block--signature h3{display:none!important}

  @media(max-width:390px){
    body.fbrf-mobile-shell-enabled .fbrf-mobile-head__brand img{max-width:88px!important;max-height:36px!important}
  }
}

/* 0.10.4 — réglages logo réellement appliqués + aucune signature publique mobile */
@media(max-width:820px){
  body.fbrf-mobile-shell-enabled .fbrf-mobile-head__brand img{
    width:min(var(--fbrf-mobile-logo-width,108px),28vw)!important;
    max-width:min(var(--fbrf-mobile-logo-width,108px),28vw)!important;
    max-height:var(--fbrf-mobile-logo-height,40px)!important;
    height:auto!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-signature{
    display:none!important;
  }
}
@media(max-width:390px){
  body.fbrf-mobile-shell-enabled .fbrf-mobile-head__brand img{
    width:min(var(--fbrf-mobile-logo-width,108px),96px)!important;
    max-width:min(var(--fbrf-mobile-logo-width,108px),96px)!important;
    max-height:min(var(--fbrf-mobile-logo-height,40px),38px)!important;
  }
}

/* 0.12.2 — icônes Contact robustes, indépendantes des polices du mobile. */
body.fbrf-mobile-shell-enabled .fbrf-mobile-contact-icon svg.fbrf-icon-filled,body.fbrf-mobile-shell-enabled .fbrf-sheet-cta svg.fbrf-icon-filled{fill:currentColor!important;stroke:none!important;stroke-width:0!important;}


/* 0.12.3 — Contact mobile : pictogrammes lisibles même avec les CSS du thème. */
@media(max-width:820px){
  body.fbrf-mobile-shell-enabled .fbrf-mobile-contact-icon{
    width:36px!important;height:36px!important;flex:0 0 36px!important;border-radius:11px!important;
    background:#EEF4F8!important;color:#002A5C!important;line-height:0!important;overflow:visible!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-contact-icon svg,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-contact-icon svg.fbrf-icon-filled{
    display:block!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;
    max-width:none!important;max-height:none!important;fill:currentColor!important;stroke:none!important;overflow:visible!important;
  }
  body.fbrf-mobile-shell-enabled .fbrf-mobile-contact-icon svg path,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-contact-icon svg circle,
  body.fbrf-mobile-shell-enabled .fbrf-mobile-contact-icon svg rect{
    fill:currentColor!important;stroke:none!important;opacity:1!important;
  }
}

/* 0.13.3 — garde-fous mobiles NON intrusifs.
 * Important : aucune marge/padding/largeur/transform du widget Elementor n'est forcé ici.
 * Avancé > Marge / Marge interne reste donc entièrement natif Elementor. */
@media(max-width:767px){
  .elementor-widget-fbrf_layout,
  .elementor-widget-fbrf_layout>.elementor-widget-container,
  .elementor-widget-fbrf_layout .fbrf-layout-skin,
  .elementor-widget-fbrf_layout .fbl4-wrap,
  .elementor-widget-fbrf_layout .fbl4-body,
  .elementor-widget-fbrf_layout .fbl4-content{
    min-width:0;
    box-sizing:border-box;
  }
  .elementor-widget-fbrf_layout .fbl4-title,
  .elementor-widget-fbrf_layout .fbl4-title-list,
  .elementor-widget-fbrf_layout .fbl4-title-mini,
  .elementor-widget-fbrf_layout .fbl4-excerpt,
  .elementor-widget-fbrf_layout .fbl4-meta{
    min-width:0;
    overflow-wrap:break-word;
  }
  .elementor-widget-fbrf_layout .fbl4-card-thumb img,
  .elementor-widget-fbrf_layout .fbl4-main-thumb img,
  .elementor-widget-fbrf_layout .fbl4-carousel-thumb img{
    max-width:100%;
    height:auto;
  }
}


/* 0.13.4 — bouton d'installation réutilisable par shortcode. */
.fbrf-install-shortcode{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:0;border-radius:12px;background:#002A5C;color:#fff;font:700 16px/1.2 var(--fbrf-mobile-font,"Cambria Math",Cambria,serif);cursor:pointer;text-decoration:none;box-shadow:none}
.fbrf-install-shortcode:hover,.fbrf-install-shortcode:focus{background:#013b78;color:#fff;outline:2px solid rgba(213,155,0,.45);outline-offset:2px}

/* 0.14.4 — un seul emplacement Ads entre recherche et menu, avec défilement. */
.fbrf-mobile-shell__ads .fbam-mode-slider{position:relative;overflow:hidden}
.fbrf-mobile-shell__ads .fbam-slider-track{display:block!important;width:100%!important}
.fbrf-mobile-shell__ads .fbam-slide{display:none!important;width:100%!important}
.fbrf-mobile-shell__ads .fbam-slide.is-active{display:block!important}
.fbrf-mobile-shell__ads .fbam-nav{display:none!important}
