/* Fenêtre « Installer l'appli » (front/offline/_installer.html.twig). Autonome : ne dépend que de tokens.css,
   pour servir aussi bien sur les pages joueurs que sur l'accueil public. */

.installer { width: 100%; max-width: 480px; margin: auto auto 0; padding: 0; border: 0; border-radius: 24px 24px 0 0; background: var(--surface); color: var(--encre); font-family: var(--font-texte); }
.installer::backdrop { background: oklch(0.08 0.01 285 / .72); }
.installer-corps { display: flex; flex-direction: column; gap: 14px; padding: 10px 18px max(20px, env(safe-area-inset-bottom, 0px)); }
.installer-poignee { width: 40px; height: 5px; border-radius: var(--radius-pill); background: oklch(0.27 0.022 285); align-self: center; }
@media (min-width: 600px) {
    .installer { margin: auto; border-radius: 24px; }
    .installer-poignee { display: none; }
}

.installer-tete { display: flex; gap: 14px; align-items: center; }
.installer-tete img { flex: none; width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 0 0 1px oklch(0.35 0.02 285); }
.installer-tete h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 26px; text-wrap: balance; }
.installer-variante { display: flex; flex-direction: column; gap: 10px; }
.installer-variante[hidden] { display: none; }

.installer-atouts { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 21px; }
.installer-atouts li { display: flex; gap: 10px; align-items: flex-start; }
.installer-atouts svg { flex: none; width: 20px; height: 20px; color: var(--vert); margin-top: 1px; }
.installer-etapes { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.installer-etapes li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; min-height: 48px; padding: 6px 12px; border-radius: 14px; background: var(--fond); font-size: 15px; line-height: 21px; counter-increment: etape; }
.installer-etapes li::before { content: counter(etape); width: 30px; height: 30px; border-radius: var(--radius-de); background: var(--bleu); color: var(--nuit); display: grid; place-items: center; font-family: var(--font-chiffres); font-weight: 800; font-size: 15px; }
.installer-etapes svg { width: 18px; height: 18px; vertical-align: -3px; color: var(--bleu); }
.installer-encart { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 14px; background: oklch(0.24 0.015 285); font-size: 14px; line-height: 20px; }
.installer-encart svg { flex: none; width: 22px; height: 22px; color: var(--encre-douce); }

.installer-actions { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; margin-top: 4px; }
.installer-actions button { height: 52px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); font: inherit; cursor: pointer; }
.installer-secondaire { background: oklch(0.27 0.022 285); color: var(--encre); font-weight: 600 !important; font-size: 15px !important; }
.installer-principal { background: var(--accent); color: var(--nuit); font-family: var(--font-display) !important; font-weight: 800 !important; font-size: 17px !important; }
.installer-actions button:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
