/* v4.6.90 : lecteur de PDF par-dessus la page (voir lv-pdf.js) */
html.lv-pdf-actif, html.lv-pdf-actif body { overflow: hidden !important; }
.lv-pdf { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; background: #061a30; color: #e8f1fb;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
.lv-pdf.est-ouvert { opacity: 1; visibility: visible; transition: opacity .2s ease; }
.lv-pdf-barre { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top));
  background: #041427; border-bottom: 1px solid rgba(255,210,122,.35); box-shadow: 0 2px 12px rgba(0,0,0,.35); }
.lv-pdf-retour { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px 9px 10px; border-radius: 999px;
  background: linear-gradient(180deg, #f3d48b, #d9a94a); color: #041427; font: 600 15px/1.1 inherit; font-family: inherit; white-space: nowrap; touch-action: manipulation; }
.lv-pdf-retour:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lv-pdf-titre { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; opacity: .85; }
.lv-pdf-dl { flex: 0 0 auto; color: #f3d48b; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.lv-pdf-corps { flex: 1 1 auto; overflow: auto; -webkit-overflow-scrolling: touch; padding: 12px 8px max(24px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lv-pdf-cadre { flex: 1 1 auto; width: 100%; max-width: 1200px; min-height: 100%; border: 0; background: #fff; border-radius: 6px; }
.lv-pdf-page { flex: 0 0 auto; max-width: 100%; background: #fff; border-radius: 4px; box-shadow: 0 4px 18px rgba(0,0,0,.4); overflow: hidden; }
.lv-pdf-page canvas { display: block; width: 100%; height: auto; }
.lv-pdf-attente { margin: 18vh auto 0; text-align: center; font-size: 15px; opacity: .9; }
.lv-pdf-attente .btn { display: inline-block; margin-top: 12px; }
@media (max-width: 560px) { .lv-pdf-titre { display: none; } .lv-pdf-barre { justify-content: space-between; } }
