/* PWA : icône, splash (6a), bandeau d'installation (6d), feuille iOS (6e), invitation aux notifications. */
.zp-appicon { --ai: 48px; position: relative; display: inline-block; flex: none; width: var(--ai); height: var(--ai); overflow: hidden; border-radius: 22%; background: var(--zp-primary); }
.zp-appicon i { position: absolute; display: block; }
.zp-appicon .r { left: 52%; top: -35%; width: 22%; height: 170%; background: var(--zp-brand); transform: rotate(24deg); }
.zp-appicon .y { left: 83%; top: -35%; width: 5%; height: 170%; background: var(--zp-accent); transform: rotate(24deg); }
.zp-appicon .l { left: 15%; top: 6%; font-family: var(--zp-display); font-style: italic; font-weight: 800; font-size: calc(var(--ai) * .84); line-height: 1; color: #fff; }
.zp-appicon .o { left: 58%; top: 60%; width: 24%; height: 24%; border-radius: 50%; background: var(--zp-accent); box-shadow: 0 0 0 calc(var(--ai) * .03) var(--zp-primary); }

.zp-splash { position: fixed; inset: 0; z-index: 2147483000; background: var(--zp-primary); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; transition: opacity .35s; font-family: var(--zp-text); }
.zp-splash.is-out { opacity: 0; pointer-events: none; }
.zp-splash__court { position: absolute; left: calc(50% - 250px); top: calc(50% - 220px); width: 500px; height: 300px; border: 2px solid rgba(255, 255, 255, .06); }
.zp-splash__court i { position: absolute; left: 50%; top: -20px; bottom: -20px; width: 3px; background: rgba(255, 255, 255, .08); }
.zp-splash__r, .zp-splash__y { position: absolute; top: -80px; height: 1000px; transform: rotate(24deg); }
.zp-splash__r { right: 40px; width: 44px; background: var(--zp-brand); }
.zp-splash__y { right: 12px; width: 10px; background: var(--zp-accent); }
.zp-splash .zp-appicon { position: relative; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.zp-splash__wm { position: relative; font-family: var(--zp-display); font-style: italic; font-weight: 800; font-size: 56px; line-height: .9; color: #fff; }
.zp-splash__wm span { color: var(--zp-brand-light); }
.zp-splash__sl { position: relative; font-family: var(--zp-display); font-style: italic; font-weight: 700; font-size: 22px; letter-spacing: .04em; color: var(--zp-accent); text-transform: uppercase; }
.zp-splash__f { position: absolute; left: 0; right: 0; bottom: 56px; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.zp-splash__bar { width: 140px; height: 4px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.zp-splash__bar i { display: block; width: 62%; height: 100%; background: var(--zp-accent); animation: zp-load 1s ease-out forwards; }
@keyframes zp-load { from { width: 10%; } to { width: 100%; } }

.zp-install { position: fixed; z-index: 9500; left: 12px; right: 12px; bottom: 98px; max-width: 420px; margin: 0 auto; background: var(--zp-primary); color: #fff; box-shadow: 0 16px 36px color-mix(in srgb, var(--zp-primary) 40%, transparent); padding: 14px; display: flex; flex-direction: column; gap: 12px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); font-family: var(--zp-text); animation: zp-toast-in .25s ease-out; }
@media (min-width: 761px) { .zp-install { bottom: 24px; right: 24px; left: auto; width: 380px; } }
.zp-install__top { display: flex; gap: 12px; align-items: center; }
.zp-install__t { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.zp-install__t strong { font-weight: 800; font-size: 15px; }
.zp-install__t span { font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, .82); }
.zp-install__x { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: rgba(255, 255, 255, .8); background: none; border: 0; align-self: flex-start; cursor: pointer; }
.zp-install__b { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.zp-install__later { text-align: center; font: 700 14px var(--zp-text); padding: 12px; border: 2px solid rgba(255, 255, 255, .6); background: none; color: #fff; cursor: pointer; }
.zp-install__go { text-align: center; font: 800 14px var(--zp-text); padding: 14px; background: var(--zp-accent); color: var(--zp-primary); border: 0; clip-path: polygon(0 0, 100% 0, 100% 65%, calc(100% - 10px) 100%, 0 100%); cursor: pointer; }

.zp-ios { position: fixed; inset: 0; z-index: 9600; background: color-mix(in srgb, var(--zp-primary) 55%, transparent); font-family: var(--zp-text); color: var(--zp-primary); }
.zp-ios__s { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; padding: 22px 20px 34px; display: flex; flex-direction: column; gap: 18px; border-radius: 18px 18px 0 0; max-width: 520px; margin: 0 auto; }
.zp-ios__grab { width: 40px; height: 5px; border-radius: 3px; background: var(--zp-line); align-self: center; }
.zp-ios__h { display: flex; gap: 14px; align-items: center; }
.zp-ios__h div { display: flex; flex-direction: column; gap: 3px; }
.zp-ios__h strong { font-family: var(--zp-display); font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; }
.zp-ios__h div span { font-size: 13px; color: var(--zp-gray); }
.zp-ios__st { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--zp-line-soft); }
.zp-ios__st > span { width: 36px; height: 36px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--zp-primary); color: #fff; font-family: var(--zp-display); font-weight: 800; font-size: 20px; clip-path: var(--zp-cut-rank); }
.zp-ios__st p { margin: 0; font-size: 14.5px; line-height: 1.4; }
.zp-ios__ok { text-align: center; font: 700 15px var(--zp-text); padding: 14px; border: 2px solid var(--zp-primary); background: #fff; color: var(--zp-primary); cursor: pointer; }

.zp-pushcta { position: fixed; z-index: 9400; left: 12px; right: 12px; bottom: 98px; max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--zp-line); box-shadow: var(--zp-shadow-card); padding: 12px 14px; font-family: var(--zp-text); color: var(--zp-primary); }
.zp-pushcta > span { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--zp-gray); }
.zp-pushcta strong { font-size: 14px; color: var(--zp-primary); }
@media (min-width: 761px) { .zp-pushcta { bottom: 24px; } }
